package com.project.dao;

import com.project.entity.ComposePaper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ComposePaperMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ComposePaper record);

    int insertSelective(ComposePaper record);

    ComposePaper selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ComposePaper record);

    int updateByPrimaryKey(ComposePaper record);

    List<ComposePaper> selectByPaperId(Integer paperid);

    List<ComposePaper> selectByPaperIdAndExerinfoid(@Param("paperid") Integer paperid,@Param("exerinfoid") Integer exerinfoid);

    int deleteByPaperIdAndExerinfoId(@Param("paperid") Integer paperid,@Param("exerinfoid") Integer exerinfoid);
}